package com.maoguo.org.service.impl;

import com.maoguo.org.mapper.OrgMapper;
import com.maoguo.org.model.Organize;
import com.maoguo.org.service.OrgService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class OrgServiceImpl implements OrgService {
    @Resource
    private OrgMapper orgMapper;
    public void save(Organize organize) {
        System.out.println("save");
        orgMapper.insert(organize);
    }
}
